package com.demo;

import com.annotation.Component;

@Component
public class UserService {
    public User getUser() {
        User user = new User("张三", 50, 22);
        return user;
    }
}